/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.entity.loan;

import org.hibernate.validator.constraints.Length;

import com.server.common.persistence.DataEntity;

/**
 * 产品标签管理Entity
 * @author 王磊
 * @version 2016-09-09
 */
public class LoanTags extends DataEntity<LoanTags> {
	
	private static final long serialVersionUID = 1L;
	protected String loanId;		// 贷款ID
	protected String tagId;		// 标签ID
	
	public LoanTags() {
		super();
	}

	public LoanTags(String id){
		super(id);
	}

	@Length(min=1, max=64, message="贷款ID长度必须介于 1 和 64 之间")
	public String getLoanId() {
		return loanId;
	}

	public void setLoanId(String loanId) {
		this.loanId = loanId;
	}
	
	@Length(min=1, max=64, message="标签ID长度必须介于 1 和 64 之间")
	public String getTagId() {
		return tagId;
	}

	public void setTagId(String tagId) {
		this.tagId = tagId;
	}
	
}